package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.FrontCategory;
import com.ytjj.qmyx.admin.model.FrontCategoryExample;
import com.ytjj.qmyx.admin.model.response.FrontCategoryResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FrontCategoryDao {

    FrontCategoryResponse getCategoryDetailById(@Param("id") Integer id);

    int alterInc();

    List<FrontCategoryResponse> findList(@Param("type") String type, @Param("isHomeShow") Integer isHomeShow);

}